package indi.zhifa.study2024.nbr.monitor;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@MapperScans(value = {
        @MapperScan(value = {"indi.zhifa.study2024.nbr.monitor.gen.monitor.**.mapper"},  sqlSessionTemplateRef = "monitorSqlSessionTemplate"),
        @MapperScan(value = {"indi.zhifa.study2024.nbr.monitor.gen.busy.**.mapper"}, sqlSessionTemplateRef = "shardingSqlSessionTemplate"),
}
)
@SpringBootApplication(scanBasePackages = {"indi.zhifa.core","indi.zhifa.study2024.common","indi.zhifa.study2024.nbr.monitor"})
public class NbrMonitorApplication {
    public static void main(String[] args) {
        SpringApplication.run(NbrMonitorApplication.class, args);
    }
}
